package com.hktf.corelib.jsonbean;

/**
 * date: 2022/9/19 19:57.
 *
 * @auther: cdz
 * @function:
 */
public class BaseResult {
    private String RESULT;

    public String getRESULT() {
        return RESULT;
    }

    public void setRESULT(String RESULT) {
        this.RESULT = RESULT;
    }
    public boolean isSuccess(){
        if (RESULT == null) {
            return false;
        }
        return "YX_RP_OK".equals(RESULT);
    }
    public boolean isSuccessNew(){
        if (RESULT == null) {
            return false;
        }
        return "200".equals(RESULT);
    }
}
